trichview.com

trichview.support




Re: right click on table [Solved]


Return to index


Author

Message

CCY

Posted: 01/10/2005 11:29:36


I have solved the problem by using ClientToDocument. But I am not sure is

this the correct solution. Thanx anyway



"CCY" <[email protected]> wrote in message

news:[email protected]...

> Correction!!

>

> The MoveCaretTo(X, Y) on work when the scrollbar is on the top most. Once

> the scroll bar is scrolled, no matter it is on center, top(lower than top

> most) or bottom, MoveCaretTo(X, Y) will fail.

>

>

> "CCY" <[email protected]> wrote in message

> news:[email protected]...

> > Sorry, I finally found out that it is not the table problem. It is

because

> > of the scrollbar problem.

> >

> > When the scrollbar is on top run MoveCaretTo(X, Y) in OnRVMouseDown

Event

> > has no problem. The cursor is located at the correct location. But when

> the

> > scrollbar has been scrolled to the bottom, the MoveCaretTo(X, Y) will no

> > longer locate the cursor to the correct location. Why?

> >

> >

> > "Sergey Tkachenko" <[email protected]> wrote in message

> > news:[email protected]...

> > >

> > > Do you mean clicking on the table border or between cells?

> > > What's the correct location in this case?

> > >

> > > >when right click on a table, i can already detect it as a table but

the

> > > >MoveCaretTo(X, Y) does not work. The caret is moved to somewhere

> outside

> > > the

> > > >table. What should I do to move it to correct location?

> > > >

> > > >

> > >

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter